ul,li{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.atlaslist {
  padding: 58px 36px;
  width: calc(100vw - 17vw - 380px);

  .atlaslist-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    span {
      color: #383838;
    }

    .togglelist {
      margin-left: 23px;

      .type_icon {
        margin-right: 14px;
      }

      svg {
        cursor: pointer;
        width: 15px;
        height: 15px;
        fill: #D9D9D9;
      }

      .active {
        svg {
          fill: #262836;
        }
      }
    }
  }
  .atlaslist-ul{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-decoration: none;
    list-style-type: none;
    margin-top: 18px;
    padding-left: 0;
    li{
      text-align: center;
      margin-right: 37px;
      margin-bottom: 20px;
      cursor: pointer;
      .atlas-item{
        position: relative;
        width: 148px;
        height: 198px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        // overflow: hidden;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
        transition: top 1s;
        ._add{
          font-size: 80px;
          color: #ccc;

        }
        .atlas-menu{
          position: absolute;
          top: 3px;
          right: 10px;
          svg{
            width: 21px;
            height: 21px;
            fill:#FFFFFF;
          }
        }
        ._cover{
          width: 100%;
          height: 100%;
        }
        ._schedule-box{
          width: 100%;
          height: 33px;
          position: absolute;
          bottom: 0;
          left: 0;
          background-image: url('../images/_bg.png');
          border-radius: 0 0 4px 4px;
          ._schedule_num{
            position: absolute;
            left: 6px;
            top: 7px;
            color: #F8F8F8;
            font-size: 16px;
            line-height: 21px;
            
          }
          ._schedule_article{
            display: inline-block;
            position: absolute;
            top: 17px;
            right: 6px;
            width: 94px;
            height: 6.25px;
            border-radius: 2px;
            background: #fff;
            overflow: hidden;
            ._filling{
              position: absolute;
              height: 100%;
              left: 0;
              top: 0;
              width: 50%;
              background: #40A0FB;
            }
          }
          
        }
        
        .ant-popover-title{
          display: none;
        }
        .ant-popover{
          width: 94px;
          text-align: center;
          .ant-popover-inner-content{
            padding: 0;
          }
          .atlas_menu_box{
            p{
              margin: 0;
              padding: 8px 31px;
              border-bottom: 0.5px solid rgba(229, 229, 229, .5);
              &:last-child{
                border: none;
              }
              &:hover{
                background: rgba(64, 160, 251, 0.1);
                cursor: pointer;
              }
            }
            ._del{
              color: #ED4014;
            }
          }
        }

      }
      .atlas-name{
        margin-top: 16px;
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        color: #383838;
      }
      &:not(.add-atlas):hover{
        .atlas-item{
          top: -20px;
          animation: hoveratlas .2s linear;
          &::before{
            content: '';
            display: inline-block;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;padding: 0;
            background: rgba($color: #000000, $alpha: .2);
          }
        }
      }
    }
    .add-atlas{
      .atlas-item{
        border: 2px solid #ECECEC;
        box-shadow: none;
      }
    }
  }
}
.atlaslist-ul_list{
  position: relative;
  margin-top: 33px;
  .atlas-item-list_head{
    span{
      color: #9B9B9B;
    }
  }
  .atlas-item-list{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #595959;
    padding: 17px 16px;
    border: 1px solid transparent;
    &:not(.atlas-item-list_head):hover{
      background: rgba(64, 160, 251, 0.1);
      border: 1px solid #40A0FB;
      border-radius: 4px;
      .atlas-menu{
        position: absolute;
        display: block;
        .hover-pop{
          position: relative;
        }
      }
    }
    .atlas-menu{
      display: none;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translate(-50%,-50%);
      svg{
        width: 33px;
        height: 25px;
      }
    }
    span{
      display: inline-block;
      &:nth-child(1){
        width: 57%;
      }   
      &:nth-child(2){
        width: 18%;
      }   
      &:nth-child(3){
        width: 25%;
      }

    }
    ._list_icon{
      width: 16px;
      height: 20px;
      margin-right: 25px;
    }
  }
  
  .ant-popover-title{
    display: none;
  }
  .ant-popover{
    width: 94px;
    text-align: center;
    .ant-popover-inner-content{
      padding: 0;
    }
    .atlas_menu_box{
      p{
        margin: 0;
        padding: 8px 31px;
        border-bottom: 0.5px solid rgba(229, 229, 229, .5);
        &:last-child{
          border: none;
        }
        &:hover{
          background: rgba(64, 160, 251, 0.1);
          cursor: pointer;
        }
      }
      ._del{
        color: #ED4014;
      }
    }
  }
  
}
@keyframes hoveratlas{
  from{
    top: 0;
  }
  to{
    top: -20px;
  }
}